home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97a.txt
/
000116_icon-group-sender _Tue Apr 15 00:29:00 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 15 Apr 1997 16:29:18 MST
Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
id AA01597; Tue, 15 Apr 1997 16:29:18 -0700
Date: Tue, 15 Apr 1997 00:29:00 GMT
From: ia@stryx.demon.co.uk (Iain Alexander)
Reply-To: ia@stryx.demon.co.uk
Message-Id: <19674@stryx.demon.co.uk>
To: icon-group@cs.arizona.edu
Subject: Re: Records in Icon
X-Mailer: PCElm 1.10
Lines: 22
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 922
In message <334E5509.2A4@gemini.edu> Steve Wampler writes:
>
> Do you care why the two records 'match'? That is, do you need to
> distinguish between your two example cases, or is it sufficient to
> simply say "the records 'match'"?
>
> Here's a procedure that handles the latter case:
>
> procedure weakMatch(r1,r2)
> return !r1 ~=== !r2
> end
Eh? What's that "~" doing there?
(BTW, it wasn't clear to me whether the word "record" in the original
was intended to refer to the Icon structure of that name. Your code
(modulo suspected typo) obviously works just as well with a list,
which might be a more appropriate data structure, depending on how
variable the input is. But Stuart, it might be better to avoid the
word "record" if what you actually meant was a structured line of text.)
--
Iain Alexander PGP 1024-bit key id B501A0AD
ia@stryx.demon.co.uk I.Alexander@bsn0106.wins.icl.co.uk